package nf.com.test02;

import android.view.View;
import android.widget.Toast;

public class MyListener implements View.OnClickListener {
    private MainActivity mainActivity;
    public void setMainActivity(MainActivity mainActivity){
        this.mainActivity=mainActivity;
    }
    @Override
    public void onClick(View view){
        Toast.makeText(mainActivity,"你好，我是美女",Toast.LENGTH_LONG).show();
    }

}
